package com.neusoft;

import java.util.Collections;
import java.util.LinkedHashSet;

public class LinkedHashSetDemo {

	public static void main(String[] args) {
		LinkedHashSet<Person> sets = new LinkedHashSet();
		sets.add(new Person(1001,"zhangsan"));
		sets.add(new Person(1003,"lisi"));
		sets.add(new Person(1002,"wangwu"));
		
		
		for (Person person : sets) {
			System.out.println(person);
		}
	}
}
